<?php

/**
 * BaseArticulos
 * 
 * This class is member of the DAO layer.
 * 
 * @property integer $id
 * @property integer $idImportacion
 * @property string $BL
 * @property string $container
 * @property integer $idArticulo
 * @property integer $cantidad
 * @property integer $proveedores
 * @property string $obs
 * @property date $fIngreso
 * 
 * @author     Claudio Corlatti <corlatti@gmail.com>
 *  $Id: Builder.php 8 2010-05-19 23:09:37Z corlatti@gmail.com $
 */
abstract class BaseArticulos extends Doctrine_Record {
    public function setTableDefinition()
    {
        $this->setTableName('articulos');
        $this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
        $this->hasColumn('idImportacion', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
        $this->hasColumn('BL', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
        $this->hasColumn('container', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
        $this->hasColumn('idArticulo', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
        $this->hasColumn('cantidad', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
        $this->hasColumn('proveedores', 'integer', 1, array('type' => 'integer', 'length' => 1, 'notnull' => true));
        $this->hasColumn('obs', 'string', null, array('type' => 'string', 'notnull' => true));
        $this->hasColumn('fIngreso', 'date', null, array('type' => 'date', 'notnull' => true));
    }

}
?>